package work.po;

import java.util.List;

public class User {
	private String id;
	private String username;
	private String password;
	private List<Book> viewHistory;

	public User(){
		this.id = null;
		this.username = null;
		this.password = null;
		this.viewHistory = null;
	};
	public User(String id, String username, String password, List<Book> viewHistory) {
		this.id = id;
		this.password = password;
		this.username = username;
		this.viewHistory = viewHistory;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public List<Book> getViewHistory() {
		return viewHistory;
	}
	public void setViewHistory() {
		this.viewHistory = viewHistory;
	}
}
